Found 452 results for "docs api templates"

The search executed in 0.001448992 seconds. That's fast.

Gitana / 3.2 / Guide / Guide / Cookbooks

Cookbooks We've put together the following Cook Books to help you get started coding using the Cloud CMS drivers. Content Modeling Cookbook C# Cookbook Go Cookbook Java Cookbook JavaScript (Legacy) Cookbook JavaScript 2.0 Cookbook Node.js Cookbook PHP Cookbook Python Cookbook REST API Cookbook Ruby Cookbook Scripting Cookbook

Score: 7.119623

Gitana / 4.0 / Developers / Cookbooks / Overview

Cookbooks We've put together the following Cook Books to help you get started coding using the Cloud CMS drivers. Content Modeling Cookbook C# Cookbook Go Cookbook Java Cookbook JavaScript (Legacy) Cookbook JavaScript 2.0 Cookbook Node.js Cookbook PHP Cookbook Python Cookbook REST API Cookbook Ruby Cookbook Scripting Cookbook

Score: 7.119623

Gitana / 4.0 / Developers / Cookbooks / Ruby Cookbook

Ruby Cookbook Getting Started The Ruby driver is published to https://rubygems.org/gems/cloudcms Install the gem as you would any other Gem gem install cloudcms You may choose to use Bundler or other dependency management tool. Connecting to Gitana To connect, create a file called gitana.json in a folder location readable by your application. For information on how to acquire this file, please read up on API Keys. Load the library containing the driver: require 'cloudcms' Connect to Cloud CMS by

Score: 7.115612

Gitana / 4.0 / Developers / Cookbooks / Node.js Cookbook

Node.js Cookbook Getting Started To get started with the Node.js driver, please visit the Cloud CMS Node.js Driver Page. One thing to keep in mind is that the Node.js driver is based on the JavaScript driver. As such, they're pretty similar. That said, the Node.js driver can do a few important tricks that you can't do in the JavaScript driver. Connecting to Cloud CMS To connect, create a file called gitana.json in your application root. For information on how to acquire this file, please read up

Score: 7.040879

Gitana / 4.0 / Developers / Cookbooks / C# Cookbook

C# Cookbook Getting Started To get started with the C# driver, visit Gitana C# Driver Page or the Github Page. It is written with .NET Core and can be used in any compatible project. You can install the driver via the command line: dotnet add package cloudcms or from within Visual Studio: Install-Package cloudcms Or by adding this to your .csproj file (you may have to adjust the version): Connecting to Gitana

Score: 6.977807

Gitana / 3.2 / Guide / Guide / Docker / Monitoring API Server with an APM

Monitoring API Server with an APM The Cloud CMS API Server is a Java application that launches inside of a Java Servlet Container. As such, Application Performance Montioring (APM) frameworks such as New Relic can be used to monitor performance metrics and other run-time data. Production Performance Although APM frameworks are designed such that they do not impact production performance more than is necessary, the impact is not zero. Cloud CMS Support may, therefore, ask you to disable monitorin

Score: 6.7371078

Gitana / 4.0 / Developers / Cookbooks / Java Cookbook

Java Cookbook Getting Started To get started with the Java driver, please visit the GitanaJava Driver Page. We recommend that you use Maven. At a minimum, you will need to add the following repository declaration to your pom.xml file: cloudcms-public cloudcms-public https://maven.cloudcms.com/public Note that newer vesions of Maven require secure repositories so if you curr

Score: 6.6460834

Gitana / 4.0 / Developers / Cookbooks / JavaScript 2.0 Cookbook

JavaScript 2.0 Cookbook Getting Started To get started with the JavaScript driver, please visit the Gitana JavaScript 2.0 Driver Page. This JavaScript driver, in contrast to the Gitana JavaScript 1.0 Driver, fully supports ECMAScript promises, which makes it easier to seamlessly integrate with your javascript apps. Connecting to Gitana You can connect and then use this driver in three different but equivalent ways: Async / Await Promises Callbacks Async / Await const cloudcms = require("cloudcms

Score: 6.3621798

Gitana / 3.2 / Guide / Guide / Content Modeling / Content Model Builder / Extend Field Templates

Extend Field Templates If you find the existing field templates still limited to your need, Modules allow you to add your own field template. In the following sample, we added a field template that provides a Summernote WYSIWYG editor. Default CKEditor WYSIWYG: Customized Summernote WYSIWYG: Get the code here in the SDK: https://github.com/gitana/sdk/tree/master/ui/modules/content-model/content-model-field

Score: 6.1742983

Gitana / 4.0 / Data Engine / Content Models / Content Model Builder / Extend Field Templates

Extend Field Templates If you find the existing field templates still limited to your need, Modules allow you to add your own field template. In the following sample, we added a field template that provides a Summernote WYSIWYG editor. Default CKEditor WYSIWYG: Customized Summernote WYSIWYG: Get the code here in the SDK: https://github.com/gitana/sdk/tree/master/ui/modules/content-model/content-model-field

Score: 6.1742983

Gitana / 3.2 / Guide / Guide / UI Developers Guide / Contexts / project-field-templates

project-field-templates [ { "evaluator": "context-project", "config": { "project-field-templates": { "templates": [ { "key": "text", "title": "Text", "type": "string/text", "description": "Text value. e.g. title, name, header", "icon": "fa fa-align-left" }, { "key": "number", "title": "Number", "type": "number/number", "description": "N

Score: 6.033622

Gitana / 4.0 / Developers / User Interface Customization / Contexts / project-field-templates

project-field-templates [ { "evaluator": "context-project", "config": { "project-field-templates": { "templates": [ { "key": "text", "title": "Text", "type": "string/text", "description": "Text value. e.g. title, name, header", "icon": "fa fa-align-left" }, { "key": "number", "title": "Number", "type": "number/number", "description": "N

Score: 6.033622

Gitana / 3.2 / Guide / Guide / Docker / Kits / API Cluster

API Cluster The api-cluster kit defines the following services: ui api1 api2 apilb mongodb elasticsearch This kit differs from the quickstart in how it handles API requests. Requests are sent to the apilb container which runs a load balancer, distributing work between api1 and api2. It is worth reviewing the cluster settings for both of your api servers in order for them to correctly communicate. Running Use the following commands: docker-compose build --force-rm docker-compose up And then open

Score: 5.7890944

Gitana / 3.2 / Guide / Guide / API Keys / Create new Application Keys

Create new Application Keys If no API keys exist for your desired project, you will need to create an application for the project. To create a new application simply go to Manage Project, select Applications, and then create a New Application. Once the application has been created you can view the API Keys either under Manage Project -> API Keys, or, Manage Platform -> API Keys Note: API keys should not be shared across more than one application. Therefore, create a separate Cloud CMS applicatio

Score: 5.3924303

Gitana / 3.2 / Guide / Guide / Integrations / IBM API Connect

IBM API Connect IBM® API Connect® is a complete, intuitive and scalable API platform that lets you create, expose, manage and monetize APIs across clouds. This means you and your customers can power digital applications and spur innovation. Cloud CMS integrates with API Connect by providing an entry point to our API. You configure API Connect to expose the Cloud CMS API as a service and point your applications to this service instead of the normal https://api.cloudcms.com (SAAS clients) endpoint

Score: 5.134788

Gitana / 4.0 / Data Engine / Integrations / IBM API Connect

IBM API Connect IBM® API Connect® is a complete, intuitive and scalable API platform that lets you create, expose, manage and monetize APIs across clouds. This means you and your customers can power digital applications and spur innovation. Cloud CMS integrates with API Connect by providing an entry point to our API. You configure API Connect to expose the Cloud CMS API as a service and point your applications to this service instead of the normal https://api.cloudcms.com (SAAS clients) endpoint

Score: 5.134788

How to get a content definition JSON from the Cloud CMS API?

There are a couple of ways to do this. The first is simply use the node GET call and pass in the qname like this: GET /repositories/{repositoryId}/branches/{branchId}/nodes/{qname} http://api.cloudcms.com/docs#!/node/get_repositories_repositoryId_branches_branchId_nodes_nodeId This will give you back the JSON for the definition. Another way is to use this variation: GET /repositories/{repositoryId}/branches/{branchId}/definitions/{qname} http://api.cloudcms.com/docs#!/branch/get_repositories_rep

Score: 4.586523

Is there a programmatic way to add more content to workflows?

There is a programmatic way to add more content to workflows once they're in-flight. However, once the workflow is in-flight, the workflow process instance isn't the correct place to add things. Instead, you'd want to add new content to a workflow task. Essentially, a workflow is made up of a series of tasks. When the workflow transitions from one node to another in the workflow model, it instantiates a new task and the task holds the state (and references to documents) for that phase of the wor

Score: 4.581057

Gitana / 3.2 / Guide / Guide / Application Server / Tags

Tags @associations @block @content @debug @dependency @expand @form @fragment @include @iter @layout @link @nodeAttachmentValue @params @processTemplate @query @queryOne @relatives @resource @search @value

Score: 4.568114

How to Retrieve content by their document library path

You can retrieve content by their document library path using the CMS API using the Node API. For example, you can paginate through the children of a node using this call: http://api.cloudcms.com/docs#!/node/get_repositories_repositoryId_branches_branchId_nodes_nodeId_children GET /repositories/{repositoryId}/branches/{branchId}/nodes/{nodeId}/children?path={path} In this case, you would set "nodeId" to the value "root" to indicate the root node. And then use "path" to describe the offset. If yo

Score: 4.345257

Gitana / 3.2 / Guide / Guide / Cookbooks / Scripting Cookbook

Scripting Cookbook Getting Started To get started with Server-Side Scripting, please visit the Server Side Scripting page. Code Samples Here are some code samples of common data structures to help you get started. Increment a Property With this example, we want to keep track of a counter that tracks the number of updates made to a node. After a node is created, if the user clicks update ten times, we want to have a counter on the node that indicates it has been updated ten times. This script sho

Score: 3.8320389

Gitana / 3.2 / Guide / Guide / Cookbooks / JavaScript (Legacy) Cookbook

JavaScript (Legacy) Cookbook Getting Started To get started with the JavaScript driver, please visit the Gitana JavaScript (Legacy) Driver Page. Connecting to Gitana To connect, supply your API Keys as the argument to the connect() method. Gitana.connect({ "clientKey": "{clientKey}", "clientSecret": "{clientSecret}", "username": "{username}", "password": "{password}", "baseURL": "https://api.cloudcms.com" }, function(err) { var platform = this; }); If a problem w

Score: 3.7529554

Gitana / 3.2 / Guide / Guide / Cookbooks / Ruby Cookbook

Ruby Cookbook Getting Started The Ruby driver is published to https://rubygems.org/gems/cloudcms Install the gem as you would any other Gem gem install cloudcms You may choose to use Bundler or other dependency management tool. Connecting to Gitana To connect, create a file called gitana.json in a folder location readable by your application. For information on how to acquire this file, please read up on Acquiring your API Keys. Load the library containing the driver: require 'cloudcms' Connect

Score: 3.7252672

How to limit the fields that come back in a query

Query API calls like http://api.cloudcms.com/docs#!/node/post_repositories_repositoryId_branches_branchId_nodes_query support a parameter named _fields which defines an object specifying the node properties you want to include in the result set for matching nodes. For example in the following query I want the title, subTitle and slug fields returned: { "_type":"my:article", "_fields":{ "title":1, "subTitle":1, "slug":1 } } The result set would look something like the

Score: 3.7027843

Gitana / 3.2 / Guide / Guide / Cookbooks / Node.js Cookbook

Node.js Cookbook Getting Started To get started with the Node.js driver, please visit the Cloud CMS Node.js Driver Page. One thing to keep in mind is that the Node.js driver is based on the JavaScript driver. As such, they're pretty similar. That said, the Node.js driver can do a few important tricks that you can't do in the JavaScript driver. Connecting to Cloud CMS To connect, create a file called gitana.json in your application root. For information on how to acquire this file, please read up

Score: 3.6083841